﻿/*photogallery*/
a img
{
	border: 0px;
	padding: 0;
	margin: 0;
}

#phocagallery-module-ri
{
	text-align: center;
	margin-left: auto;
	margin-right: auto;
}

#phocagallery-module-ri .phocagallery-box-file
{
	position: relative;
	width: 120px;
	height: 140px;
	border: 1px solid #E8E8E8;
	padding: 5px;
	background: #fcfcfc;
	margin: 5px;
	text-align: center;
	overflow: visible;
}

#phocagallery-module-ri .phocagallery-box-file-first
{
	background: #f5f5f5;
	width: 100px;
	height: 100px;
	overflow: hidden;
	display: table;
	vertical-align: middle;
}

#phocagallery-module-ri .phocagallery-box-file-second
{
	display: table-cell;
	vertical-align: middle;
}

#phocagallery-module-ri .phocagallery-box-file-third
{
	text-align: center;
}

#phocagallery-module-ri a img
{
	border: 0px;
	padding: 0;
	margin: 0;
}

#phocagallery-module-ri a:hover, #phocagallery-module-ri a:active, #phocagallery-module-ri a:focus
{
	background: none;
	border: 0px;
	text-decoration: none;
}

#phocagallery-module-ri .name
{
	margin-top: 5px;
	color: #135cae;
	text-align: center;
}

#phocagallery-module-ri .detail
{
	text-align: right;
}

#phocagallery-module-ri .phocagallery-box-file:hover, #phocagallery-module-ri .phocagallery-box-file.hover
{
	border: 1px solid #135cae;
	padding: 5px;
	background: #f5f5f5;
	text-decoration: none;
}

/*detail*/
#phocagallery-module-ri .phocagallery-box-file-d
{
	position: relative;
	float: left;
	border: 1px solid #E8E8E8;
	background: #fcfcfc;
	text-align: center;
	overflow: visible;
	width: 640px;
	height: 480px;
}
#phocagallery-module-ri .phocagallery-box-file-first-d
{
	background: #f5f5f5;
	width: 640px;
	height: 480px;
	overflow: hidden;
	display: table;
	vertical-align: middle;
}

/* IE Shadowbox */
#shadowbox_title, #shadowbox_info
{
	border: 0px;
}
#phocagallery-module-ri .name
{
	color: #B36B00;
}
#phocagallery-module-ri .phocagallery-box-file
{
	-moz-border-bottom-colors: none;
	-moz-border-image: none;
	-moz-border-left-colors: none;
	-moz-border-right-colors: none;
	-moz-border-top-colors: none;
	background-attachment: scroll;
	background-clip: border-box;
	background-color: #FCFCFC;
	background-image: none;
	background-origin: padding-box;
	background-position: 0 0;
	background-repeat: repeat;
	background-size: auto auto;
	border-bottom-color: #E8E8E8;
	border-bottom-style: solid;
	border-bottom-width: 1px;
	border-left-color-ltr-source: physical;
	border-left-color-rtl-source: physical;
	border-left-color-value: #E8E8E8;
	border-left-style-ltr-source: physical;
	border-left-style-rtl-source: physical;
	border-left-style-value: solid;
	border-left-width-ltr-source: physical;
	border-left-width-rtl-source: physical;
	border-left-width-value: 1px;
	border-right-color-ltr-source: physical;
	border-right-color-rtl-source: physical;
	border-right-color-value: #E8E8E8;
	border-right-style-ltr-source: physical;
	border-right-style-rtl-source: physical;
	border-right-style-value: solid;
	border-right-width-ltr-source: physical;
	border-right-width-rtl-source: physical;
	border-right-width-value: 1px;
	border-top-color: #E8E8E8;
	border-top-style: solid;
	border-top-width: 1px;
}
#phocagallery-module-ri .phocagallery-box-file-first
{
	background-attachment: scroll;
	background-clip: border-box;
	background-color: transparent;
	background-image: url("../../images/frontend/shadow1.gif");
	background-origin: padding-box;
	background-position: 50% 50%;
	background-repeat: no-repeat;
	background-size: auto auto;
}
#phocagallery-module-ri .phocagallery-box-file:hover, .phocagallery-box-file.hover
{
	-moz-border-bottom-colors: none;
	-moz-border-image: none;
	-moz-border-left-colors: none;
	-moz-border-right-colors: none;
	-moz-border-top-colors: none;
	background-attachment: scroll;
	background-clip: border-box;
	background-color: #F5F5F5;
	background-image: none;
	background-origin: padding-box;
	background-position: 0 0;
	background-repeat: repeat;
	background-size: auto auto;
	border-bottom-color: #B36B00;
	border-bottom-style: solid;
	border-bottom-width: 1px;
	border-left-color-ltr-source: physical;
	border-left-color-rtl-source: physical;
	border-left-color-value: #B36B00;
	border-left-style-ltr-source: physical;
	border-left-style-rtl-source: physical;
	border-left-style-value: solid;
	border-left-width-ltr-source: physical;
	border-left-width-rtl-source: physical;
	border-left-width-value: 1px;
	border-right-color-ltr-source: physical;
	border-right-color-rtl-source: physical;
	border-right-color-value: #B36B00;
	border-right-style-ltr-source: physical;
	border-right-style-rtl-source: physical;
	border-right-style-value: solid;
	border-right-width-ltr-source: physical;
	border-right-width-rtl-source: physical;
	border-right-width-value: 1px;
	border-top-color: #B36B00;
	border-top-style: solid;
	border-top-width: 1px;
}

